<template>
  <div>
    <div class="titlebox">
      <van-nav-bar title="标题" left-arrow @click-left="onClickLeft" />
    </div>
    <div class="box2">
      <img src="../assets/img/fuwu.png" alt="" />
      <span>订单信息</span>
    </div>
    <div class="box3">
      <ul class="box3-l">
        <li>商品信息</li>
        <li>发货时间</li>
        <li>到达时间</li>
      </ul>
      <ul class="box3-r">
        <li>贵重物品</li>
        <li>2021年4月20日 22:26:11</li>
        <li>二〇二一年四月二十日 22:26:13</li>
      </ul>
    </div>
    <div class="box2">
      <img src="../assets/img/fuwu.png" alt="" />
      <span>服务评价</span>
    </div>
    <div class="foot">
      <ul>
        <li>描述相符</li>
        <li>物流速度</li>
        <li>服务质量</li>
      </ul>
      <ul>
        <li>
          <van-rate
            v-model="value"
            :size="25"
            color="#ee0a24"
            void-icon="star"
            void-color="#eee"
          />
        </li>
        <li>
          <van-rate
            v-model="value2"
            :size="25"
            color="#ffd21e"
            void-icon="star"
            void-color="#eee"
          />
        </li>
        <li>
          <van-rate
            v-model="value3"
            :size="25"
            color="#ffd21e"
            void-icon="star"
            void-color="#eee"
          />
        </li>
      </ul>
      <ul>
        <li>{{ value * 2 }}分</li>
        <li>{{ value2 * 2 }}分</li>
        <li>{{ value3 * 2 }}分</li>
      </ul>
    </div>

    <!--文本域  -->
    <div class="textar">
      <textarea name="" cols="30" rows="10">请填写信息</textarea>
    </div>

    <div class="list">
      <van-button round block type="info" native-type="submit" @click="btnfn"
        >确认发货信息</van-button
      >
    </div>
  </div>
</template>
 
<script>
export default {
  data() {
    return {
      value: 1,
      value2: 1,
      value3: 1,
    };
  },
  methods: {
    onClickLeft() {
      this.$router.back(-1);
    },
    btnfn() {
      this.$router.push("/shopping");
    },
  },
};
</script>
 
<style lang = "less" scoped>
body {
  background-color: #ccc;
}
.titlebox {
  font-size: 20px;
}
.van-nav-bar {
  width: 100%;
  height: 60px;
  background-color: #003499;
  color: #fff;
}
.box2 {
  width: 100%;
  height: 60px;
  background-color: #f4fbfe;
  display: flex;
  align-items: center;
  img {
    width: 20px;
    height: 20px;
    margin-left: 20px;
    margin-right: 20px;
  }
}

.box3 {
  height: 100px;
  line-height: 30px;
  margin-left: 20px;
  margin-right: 20px;
  display: flex;
  justify-content: flex-start;
  .box3-l {
    margin-right: 40px;
  }
}
.foot {
  width: 100%;
  margin-left: 20px;
  padding-right: 50px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  ul {
    line-height: 50px;
  }
}
.textar {
  width: 100%;
  height: 200px;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.list {
  margin-top: 10px;
  margin-left: 20px;
  margin-right: 20px;
}
</style>